package com.ruoyi.handing.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.handing.mapper.AlgsStaffHandingMapper;
import com.ruoyi.handing.domain.AlgsStaffHanding;
import com.ruoyi.handing.service.IAlgsStaffHandingService;

/**
 * 处理员工Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-03-20
 */
@Service
public class AlgsStaffHandingServiceImpl implements IAlgsStaffHandingService 
{
    @Autowired
    private AlgsStaffHandingMapper algsStaffHandingMapper;

    /**
     * 查询处理员工
     * 
     * @param staffHandingId 处理员工主键
     * @return 处理员工
     */
    @Override
    public AlgsStaffHanding selectAlgsStaffHandingByStaffHandingId(Long staffHandingId)
    {
        return algsStaffHandingMapper.selectAlgsStaffHandingByStaffHandingId(staffHandingId);
    }

    /**
     * 查询处理员工列表
     * 
     * @param algsStaffHanding 处理员工
     * @return 处理员工
     */
    @Override
    public List<AlgsStaffHanding> selectAlgsStaffHandingList(AlgsStaffHanding algsStaffHanding)
    {
        return algsStaffHandingMapper.selectAlgsStaffHandingList(algsStaffHanding);
    }

    /**
     * 新增处理员工
     * 
     * @param algsStaffHanding 处理员工
     * @return 结果
     */
    @Override
    public int insertAlgsStaffHanding(AlgsStaffHanding algsStaffHanding)
    {
        return algsStaffHandingMapper.insertAlgsStaffHanding(algsStaffHanding);
    }

    /**
     * 修改处理员工
     * 
     * @param algsStaffHanding 处理员工
     * @return 结果
     */
    @Override
    public int updateAlgsStaffHanding(AlgsStaffHanding algsStaffHanding)
    {
        return algsStaffHandingMapper.updateAlgsStaffHanding(algsStaffHanding);
    }

    /**
     * 批量删除处理员工
     * 
     * @param staffHandingIds 需要删除的处理员工主键
     * @return 结果
     */
    @Override
    public int deleteAlgsStaffHandingByStaffHandingIds(Long[] staffHandingIds)
    {
        return algsStaffHandingMapper.deleteAlgsStaffHandingByStaffHandingIds(staffHandingIds);
    }

    /**
     * 删除处理员工信息
     * 
     * @param staffHandingId 处理员工主键
     * @return 结果
     */
    @Override
    public int deleteAlgsStaffHandingByStaffHandingId(Long staffHandingId)
    {
        return algsStaffHandingMapper.deleteAlgsStaffHandingByStaffHandingId(staffHandingId);
    }


}
